﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow2211A.Domain.Entities;

namespace Workflow2211A.Application.DTO.Inputs
{
    public class DefinitionAddInput
    {
        /// <summary>
        /// 流程标识
        /// </summary>
        public string DefinitionId { get; set; } = string.Empty;
        /// <summary>
        /// 流程设计的标题
        /// </summary>
        public string Title { get; set; } = string.Empty;
        /// <summary>
        /// 流程的版本号
        /// </summary>
        public int Version { get; set; }
        /// <summary>
        /// 此流程的审批步骤 
        /// </summary>
        public List<StepNode> Steps { get; set; } = null!;
    }
}
